package com.advaita.gui;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class DetailedPanel extends JPanel {
	public DetailedPanel() {
		Dimension size = getPreferredSize();
		size.width=250;
		setPreferredSize(size);
		setBorder(BorderFactory.createTitledBorder("personal details"));
		JLabel nameLabel = new JLabel("Name:  ");
		JLabel oppcupationLabel = new JLabel ("Occupation:  ");
		
		JTextField nameField = new JTextField(10);
		JTextField occupationField = new JTextField(10);
		
		JButton addBtn = new JButton("Add");
		setLayout(new GridBagLayout());
		GridBagConstraints gbc = new GridBagConstraints();
		
	}

}
